package com.be.beadmin.product.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Description: 工时统计报表
 * @author: Jiaming Zheng
 * @Date: Create in 22:14 2023/12/8
 * @Modified By:
 **/
@Entity
@Table(name="T_OP_WorkingHoursCount")
@Getter
@Setter
@NoArgsConstructor
public class WorkingHoursCount extends BaseEntity {

    @Column(
            name = "PersonnelId",

            columnDefinition = "VARCHAR(32) COMMENT '人员Id' "
    )
    protected String personnelId;

    @Column(
            name = "PersonnelName",

            columnDefinition = "VARCHAR(32) COMMENT '人员姓名' "
    )
    protected String personnelName;


    @Column(name = "Date",columnDefinition = "date COMMENT '月份'")
    private Date date;

    @Column(name = "ActualTaskWorkhour",columnDefinition = "float COMMENT '实际任务工时'")
    private Double actualTaskWorkhour;

    @Column(name = "ActualProjectWorkhour",columnDefinition = "float COMMENT '实际项目填报工时'")
    private Double actualProjectWorkhour;

    @Column(name = "ActualWoWorkhour",columnDefinition = "float COMMENT '实际工单填报工时'")
    private Double actualWoWorkhour;

}
